package com.link.base.base.address.dao.mybatis.mapper;

import com.link.base.base.address.model.AddrPst;
import com.link.core.basic.dao.mapper.BasicMapper;
import com.link.core.basic.query.QueryParams;

import java.util.List;
/**
 * Copyright  hande Company. All Rights Reserved.
 *
 * @author  unknwon
 * @date:   2018/11/8 10:30
 * @version 1.0
 */

public interface AddrPstMapper extends BasicMapper<AddrPst> {

    /**
     * 查询下级地址
     *
     * @param qps
     * @return
     * @throws Exception
     */
    public List<AddrPst> queryChildAddrListSelect(QueryParams qps) throws Exception;


    /**
     * 查询所有
     *
     * @param record
     * @return
     * @throws Exception
     */
    public List<AddrPst> queryByExample(AddrPst record) throws Exception;

}
